package com.neuedu.linkedlist;

public class Test {
    public static void main(String[] args) {
        SinglyLinkedList list = new SinglyLinkedList();
        list.addLast(1);
        list.addLast(2);
        list.addLast(3);
        list.addLast(4);

        list.insert(0,8);

        for (Integer value : list) {
            System.out.println(value);
        }

    }
}
